package yue.shen.model

import org.itheima.kotlin.game.core.Painter
import yue.shen.business.BlockAble
import yue.shen.other.Config
import yue.shen.view.View
import java.awt.Paint

/**
 * Created by jiangzhuolei on 2017/11/7.
 */
class Wall(override val x: Int, override val y: Int) : BlockAble {
    override var width:Int= Config.gameWidth
    override var height:Int = Config.gameHeight

    override fun draw(){
        Painter.drawImage("/img/walls.gif",x,y)
    }
}